package com.love.cloud.admin.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.love.cloud.common.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author hongdongqu
 */
@Data
@Entity
@Table(name = "sys_role_zzd_user")
@TableName("sys_role_zzd_user")
@EqualsAndHashCode(callSuper = false)
@org.hibernate.annotations.Table(appliesTo = "sys_role_zzd_user",comment="系统角色和浙政钉关联表")
public class SysRoleZzdUser extends BaseEntity {
    @Column(columnDefinition = "bigint COMMENT '角色id'")
    private Long roleId;
    /**
     * 浙政钉账号id
     */
    @Column(columnDefinition = "varchar(32) COMMENT '浙政钉账号id'")
    private String zDingAccountId;

    /**
     * 浙政钉账号名称
     */
    @Column(columnDefinition = "varchar(255) COMMENT '浙政钉账号名称'")
    private String accountName;
}
